package com.ebt.dl.domain;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

public class Credential implements Serializable {

	private static final long serialVersionUID = 1L;

	@NotNull(message = "Please provide user id.")
	private String userId;

	@NotNull(message = "Please provide password.")
	private String password;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
